package com.example.permission.common.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 分页请求
 *
 * @author xuwenqian
 */
@Data
public class PageDTO {
    @ApiModelProperty("第几页")
    @NotNull(message = "当前页不允许为空")
    private Integer currentPage;
    @ApiModelProperty("每页大小")
    @NotNull(message = "页大小不允许为空")
    private Integer pageSize;
}
